package cn.lzx;

import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author lizhenxing
 * 2019/6/20 下午2:11
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = ElementType.ANNOTATION_TYPE)
@Component
@Import(DataSourceAutoConfiguration.class)
public @interface EnableAutoDataSourceConfiguration {
}
